package com.tiku.service;

import com.tiku.common.ResultJson;
import com.tiku.controller.DTO.ClearAnswerDTO;
import com.tiku.controller.DTO.QuestionLogDTO;
import com.tiku.entity.UserQuestionLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface UserQuestionLogService extends IService<UserQuestionLog> {
    /**
     * 记录用户答题记录
     * @param questionLogDTO
     * @return
     */
    ResultJson answerLog(QuestionLogDTO questionLogDTO);


    /**
     * 清除答题记录
     * @param clearAnswerDTO
     * @return
     */
    ResultJson clearLog(ClearAnswerDTO clearAnswerDTO);
}
